<admintpl file="headerEx"/>
<link href="__PUBLIC__/js/artDialog/skins/default.css" rel="stylesheet" />
<title>编辑角色</title>
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet"/>
<!--ios7-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/TciocEx/js/ios-switch/switchery.css" />

<!--icheck-->
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/minimal.css" rel="stylesheet">
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/red.css" rel="stylesheet">
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/green.css" rel="stylesheet">
</head>
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content">
		<!-- body wrapper start -->
		<div class="wrapper">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li>
									<a href="{:U('rbac/index')}">
										<i class="fa fa-list-ul"></i> {:L('ADMIN_RBAC_INDEX')}
									</a>
								</li>
								<li >
									<a href="{:U('rbac/roleadd')}">
										<i class="fa fa-plus"></i> {:L('ADMIN_RBAC_ROLEADD')}
									</a>
								</li>
								<li class="active" >
									<a href="{:U('rbac/roleedit')}">
										<i class="fa fa-edit"></i> 编辑角色
									</a>
								</li>
							</ul>
						</header>
						<div class="panel-body">
							<div class=" form">
								<form class="cmxform form-horizontal adminex-form js-ajax-form" id="commentForm" method="post" action="{:U('Rbac/roleedit_post')}" novalidate="novalidate">
									<div class="form-group ">
										<label for="rolename" class="control-label col-lg-2">{:L('ROLE_NAME')}(*)</label>
										<div class="col-lg-10">
											<input type="hidden" name="id" value="{$data.id}"/>
											<input   class=" form-control" id="rolename" name="name" minlength="1" value="{$data.name}" type="text" required="" placeholder="请填写角色名称！">
										</div>
									</div>
									<div class="form-group">
										<label for="remark" class="control-label col-lg-2">{:L('ROLE_DESCRIPTION')}</label>
										<div class="col-lg-10">
											<textarea id="remark" name="remark" rows="2"   class="form-control" placeholder="请填写角色描述！">{$data.remark}</textarea>
										</div>
									</div>

									<!--<div class="form-group">-->
									<!--<label for="cstatus" class="control-label col-lg-2">{:L('STATUS')}</label>-->
									<!--<div>-->
									<!--&nbsp;{:L('ENABLED')} <input type="checkbox" class="js-switch" checked=checked id="cstatus" name="status" data-switchery="true" style="display: none;"> {:L('DISABLED')}-->
									<!--</div>-->
									<!--</div>-->
									<div class="form-group">
										<label  for="status" class="control-label col-lg-2" >{:L('STATUS')}(*) </label>
										<div >
											&nbsp;<select name="status" id="status" style="height:30px;" >
												<option <eq  name="data.status" value="0">selected = "selected"</eq> value="0">{:L('DISABLED')}</option>
												<option <eq  name="data.status" value="1">selected = "selected"</eq> value="1">{:L('ENABLED')}</option>
										</select>
										</div>
									</div>

									<div class="form-group">
										<div class="col-md-12 text-center clearfix">
											<button class="btn btn-primary js-ajax-submit" type="submit">{:L('SAVE')}</button>
											<a href="javascript:history.back(-1);" class="btn btn-default">{:L('BACK')}</a>
										</div>
									</div>
								</form>
							</div>

						</div>
					</section>

				</div>
			</div>
		</div>
		<!--footer section start-->
		<footer>
			<admintpl file="copyright"/>
		</footer>
		<!--footer section end-->
	</div>
	<!-- main content end-->
</section>
<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/simpleboot/bootstrap/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>
<script src="__PUBLIC__/js/ajaxForm.js"></script>

<script type="text/javascript" src="__PUBLIC__/TciocEx/js/jquery.validate.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-localization/messages_zh.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-init.js"></script>

</body>
</html>
